package com.xqx.service;

import com.github.pagehelper.PageInfo;
import com.xqx.pojo.Student;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * @author：xingquanxiang createTime：2019/10/26 15:06
 * description:
 */
public interface StudentService {
    PageInfo<Student> findAll(int pageNum, int pageSize);

    Student doAdd(Student student);

    boolean doEdit(Student student);

    int doDel(long[] id);

    Student findById(long id);

    boolean findByNameAndPassword(Student student);

}
